home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 11
/
Mac Magazin and MacEasy Magazine CD - Issue 11.iso
/
Sharewarebibliothek
/
DFÜ
/
MacPPP Control 1.4
/
Read Me
next >
Wrap
Text File
|
1995-05-09
|
3KB
|
64 lines
MacPPP Control 1.4
May 9, 1995
Copyright © 1994-1995
Mark Alldritt
MacPPP Control is an AppleScript Addition which allows your scripts limited
control over MacPPP. The addition allows you to open and close the PPP link,
and to check the state (open/closed) of the link.
The package contains:
- the MacPPP Control addition, which should be copied to the Scripting
Additions folder of your Extensions folder.
- three examples which show how to use the commands provided by the
MacPPP Control addition.
NOTE: If you use the Server parameter when calling the openPPP command, the
Config PPP Control Panel *must* be closed. If Config PPP is open when
openPPP tries to change the Server name, openPPP will fail because Config
PPP locks to PPP preferences file. You can get around this by using the
Scriptable Finder to close Config PPP before calling openPPP in your script.
To use this addition you need to have AppleScript v1.0 or later, and MacPPP
(I developed and tested MacPPP Control with v2.0.1).
Note that I have no association with the authors of MacPPP, apart from being
a happy user of their software. There are no restrictions on use or
distribution of MacPPP Control.
I can be contacted via E-mail at alldritt@wimsey.com
VERSION 1.3 OF MacPPP Control NOW DEPENDS HEAVILY ON THE INTERNALS OF MacPPP
2.0.1. FUTURE VERSIONS OF MacPPP MAY NOT BE COMPATIBLE WITH MacPPP Control.
MacPPP Control IS PROVIDED AS-IS. USE FUTURE VERSIONS OF MacPPP WITH MacPPP
Control AT YOUR OWN RISK.
Edit History:
V1.4 - Corrected a bug which prevented the use of getPPPServer while the
Config PPP Control Panel was open.
V1.3 - Modified openPPP to accept the name of the PPP Server to use. Added
two new commands to query the name of the current server, and find the names
of all defined servers.
V1.2 - Modified closePPP to ensure script is in the foreground before it
proceeds to close the connection. This is done to avoid the MacPPP hang
which occurs if closePPP is called from a background application. openPPP
checks to ensure MacPPP is closed before it proceeds. closePPP checks to
ensure MacPPP is open before it proceeds. Also added an additional example
script entitled "Check The Mail".
V1.1 - example scripts are stored as text files instead of script
applications to allow backward compatibility with AS 1.0. Also, my E-mail
address is now correct. I apologize for any problems these items may have
caused you.
V1.0 - initial release of hack to control MacPPP from AppleScript
Cheers
-Mark